go/types.TypeParamList.list (method)
24 uses
go/types (current package)
alias.go#L157: rhs := check.subst(pos, orig.fromRHS, makeSubstMap(orig.TypeParams().list(), targs), expanding, ctxt)
call.go#L110: tparams, params2 := check.renameTParams(pos, sig.TypeParams().list(), NewTuple(params...))
call.go#L155: tparams := typ.TypeParams().list()
call.go#L334: if x.mode == value && sig.TypeParams().Len() > 0 && isParameterized(sig.TypeParams().list(), x.typ) {
call.go#L559: tparams, tmp = check.renameTParams(call.Pos(), sig.TypeParams().list(), sigParams)
call.go#L585: atparams, tmp := check.renameTParams(call.Pos(), asig.TypeParams().list(), asig)
decl.go#L574: if tpar, ok := rhs.(*TypeParam); ok && alias.tparams != nil && slices.Index(alias.tparams.list(), tpar) >= 0 {
instantiate.go#L62: tparams := orig_.TypeParams().list()
instantiate.go#L161: sig := check.subst(pos, orig, makeSubstMap(tparams.list(), targs), nil, ctxt).(*Signature)
named.go#L493: smap := makeSubstMap(origSig.RecvTypeParams().list(), t.inst.targs.list())
named.go#L775: m := makeSubstMap(tpars.list(), targs.list())
object.go#L592: newTypeWriter(buf, qf).tParamList(t.TypeParams().list())
predicates.go#L355: xtparams := x.TypeParams().list()
predicates.go#L356: ytparams := y.TypeParams().list()
signature.go#L290: baseTParams := baseType.TypeParams().list()
typelists.go#L15: func (l *TypeParamList) Len() int { return len(l.list()) }
typelists.go#L23: func (l *TypeParamList) list() []*TypeParam {
typestring.go#L306: w.tParamList(t.TypeParams().list())
typestring.go#L314: if i := slices.Index(w.tparams.list(), t); i >= 0 {
typestring.go#L346: w.tParamList(t.TypeParams().list())
typestring.go#L488: w.tParamList(sig.TypeParams().list())
typexpr.go#L451: tparams := inst.TypeParams().list()
typexpr.go#L454: if i, err := check.verify(ix.Pos(), inst.TypeParams().list(), targs, check.context()); err != nil {
validtype.go#L163: for i, tparam := range inst.TypeParams().list() {